<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

    $cartID = $_GET["cartID"];
    
    $con = mysql_connect("localhost", "zhouzhao", "19831022");
    if(!$con){
        die("could not connect to DB: ".mysql_error());
    }
    
    mysql_select_db("cloudcom", $con);
    mysql_query("delete from shoppingCarts where cartID = $cartID");
    
    mysql_close($con);
    
?>
